<template>
  <div class="page-bd">
    <search @search="search"></search>
    <floor-list :keyword="keyword"></floor-list>
  </div>
</template>

<script>
  import Search from '@/components/Search'
  import FloorList from "@/components/FloorList";
  import ExpandMenu from "./ExpandMenu"

  export default {
    name: "wrapper",
    components: {
      ExpandMenu,
      FloorList,
      Search,
    },
    data() {
      return {
        keyword: ''
      };
    },
    methods: {
      search(keyword) {
        this.keyword = keyword
      }
    }
  };
</script>

<style scoped>
  .page-bd{
    padding-top: 50px;
  }
</style>
